using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CDV.MC.MatrixDriver.WebApp.Data
{
    /// <summary>
    /// 矩阵端口信息
    /// </summary>
    public class MatrixPortInfo
    {
        /// <summary>
        /// 矩阵端口号
        /// </summary>
        [DisplayName("端口号")]
        public int Port { get; set; }

        /// <summary>
        /// 矩阵端口名称
        /// </summary>
        [DisplayName("端口名称")]
        public string Name { get; set; }

        /// <summary>
        /// 矩阵端口状态
        /// </summary>
        [DisplayName("端口状态")]
        public EMatrixPortStatus Status { get; set; }

        /// <summary>
        /// 连接到的端口
        /// </summary>
        [DisplayName("连接至端口号")]
        public int? RoutedToPort { get; set; }
    }
}